package com.woniuxy.microsportsserver.weightmag.service;

import com.woniuxy.common.bean.PageDto;
import com.woniuxy.microsportsserver.bean.WeightAnalysisInfo;
import com.woniuxy.microsportsserver.bean.WeightInfo;

import java.util.List;

public interface IWeightService {
    //查询所有信息
    PageDto findAll(WeightInfo weightInfo , Integer pageNum, Integer pageSize);

    //查询某个人的全部信息
    WeightInfo findOneByUserId(WeightInfo weightInfo);

    //各年龄段平均体重
    List<WeightAnalysisInfo> findWeightByAgeType();

    //18岁以上的成年人体重分步
    List<WeightAnalysisInfo> WeightPercentage();
}
